package com.zh.core.service;

import com.zh.core.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by zhaohui on 2019/8/11
 * Description:
 */
public interface CustomerService {

    /**
     * 查询所有顾客
     * @return
     */
    List<Customer> queryAllCustomer();

    /**
     * 分页查询所有顾客
     * @return
     */
    Map<String, Object> queryCustomerWithPage(int offset, int limit);

    /**
     * 查询所有顾客的数量
     * @return
     */
    int queryAllCustomerNum();

}
